<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<c:set var="arr" value='${fn:split(cookie.managerInfo.value,":") }'></c:set>
	
	<span style="color:red">${info }</span>
	<form action="${pageContext.request.contextPath }/login" name="frm" method="post" >
		
		name :<input type="text" name="username" value="${arr[0] }" /> <p />
		pass :<input type="password" name="password"  value="${arr[1] }" /><p />
		
		
		<input type="button" id="btn" onclick="login()" value="登陆">
		
		<input type="checkbox" name="flag" value="1" />记住密码
	</form>
	
	<script type="text/javascript">
		
		function login(){
			
			document.frm.submit();
		}
	
	</script>
	
	
</body>
</html>